home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2007 December / PCWKCD1207B.iso / Blogowanie poza sfera / Scribefire-1.4.2 / scribefire-1.4.2-fx+fl.xpi / chrome / content / overlay.xul < prev    next >
Encoding:
Extensible Markup Language  |  2007-07-18  |  5.6 KB  |  124 lines

  1. <?xml version="1.0"?>
  2. <?xml-stylesheet href="chrome://performancing/skin/overlay.css" type="text/css"?>
  3. <!DOCTYPE dialog [ 
  4. <!ENTITY % performancingDTD SYSTEM "chrome://performancing/locale/overlay.dtd"> 
  5. %performancingDTD; 
  6. <!ENTITY % performancingFallbackDTD SYSTEM "chrome://performancing/content/locale-default/overlay.dtd"> 
  7. %performancingFallbackDTD; 
  8. ]>
  9. <overlay id="performancing-overlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  10.     <script type="application/x-javascript" src="chrome://performancing/content/overlay.js"></script>
  11.     <script type="application/x-javascript" src="chrome://performancing/content/editor.js"></script>
  12.     <script type="application/x-javascript" src="chrome://performancing/content/performancingReposition.js"></script>
  13.     <script type="application/x-javascript" src="chrome://global/content/nsDragAndDrop.js"></script>
  14.     <script type="application/x-javascript" src="chrome://global/content/nsTransferable.js"></script>
  15.     
  16.     <!-- Localization -->
  17.     
  18.     <stringbundle id="performancingstrings" src="chrome://performancing/locale/overlay.properties"/>
  19.     <stringbundle id="performancingstrings-fallback" src="chrome://performancing/content/locale-default/overlay.properties"/>
  20.  
  21.     <!-- Keyboard access -->
  22.     
  23.     <keyset id="mainKeyset">
  24.         <key id="key_perFormancing" keycode="VK_F8" oncommand="gperformancing.openBottomBar()"/>
  25.     </keyset>
  26.     
  27.     <!-- FireFox Status Bar -->
  28.     
  29.     <statusbar id="status-bar">
  30.         <statusbarpanel id="performancing-statusbar-panel" context="performancing-context-menu" tooltiptext="&performancing.editor.title;" insertafter="statusbar-progresspanel" ondraggesture="nsDragAndDrop.startDrag(event, perFormancingDragStartObserver)">
  31.             <hbox align="center" tooltiptext="&performancing.title;" ondraggesture="nsDragAndDrop.startDrag(event, perFormancingDragStartObserver)">
  32.                 <toolbarbutton id="performancing-sb-button"
  33.                     changed="false"
  34.                     class="performancing-statusbar-button"
  35.                     tooltiptext="&performancing.title;"
  36.                     ondraggesture="nsDragAndDrop.startDrag(event, perFormancingDragStartObserver)"
  37.                     oncommand="gperformancing.openBottomBar()"/>
  38.             </hbox>
  39.         </statusbarpanel>
  40.     </statusbar>
  41.  
  42.     <!-- This is the Context Menu for the status bar icon -->
  43.  
  44.     <popupset id="mainPopupSet">
  45.         <popup id="performancing-context-menu">
  46.             <menuitem label="&performancing.overlay.blogthis;" 
  47.                 accesskey="&performancing.overlay.blogthis.key;" 
  48.                 oncommand="performancingUI.blogThis()" 
  49.                 id="performancing-sb-bottombar"/>
  50.             <menuseparator/>
  51.             <menuitem label="&performancing.overlay.openintab;" 
  52.                 accesskey="&performancing.overlay.openintab.key;" 
  53.                 oncommand="gperformancing.launchWindowInTab('chrome://performancing/content/editor.xul')" 
  54.                 id="performancing-sb-bottombar"/>
  55.             <menuitem label="&performancing.overlay.openinwindow;" 
  56.                 accesskey="&performancing.overlay.openinwindow.key;" 
  57.                 oncommand="gperformancing.launchWindow('chrome://performancing/content/editor.xul')" 
  58.                 id="performancing-sb-bottombar"/>
  59.             <menuitem label="&performancing.overlay.openinbrowser;" 
  60.                 accesskey="&performancing.overlay.openinbrowser.key;" 
  61.                 oncommand="gperformancing.openBottomBar()" 
  62.                 id="performancing-sb-bottombar"/>
  63.             <menuseparator/>
  64.             <menuitem label="&performancing.main.sb.cm.about;" 
  65.                 accesskey="&performancing.main.sb.cm.about.key;" 
  66.                 oncommand="performancingUI.openAboutFromEM()" 
  67.                 id="performancing-sb-about"/>      
  68.         </popup>
  69.     </popupset>
  70.     
  71.     <!-- Firefox Context Menu -->
  72.     
  73.     <popup id="contentAreaContextMenu" >
  74.         <menu id="context-performancing" insertafter="context-selectall" label="ScribeFire" class="menuitem-iconic menu-iconic .icon-performancing" accesskey="&performancing.cmaccesskey;" >
  75.             <menupopup>
  76.                 <menuitem id="performancing-cm-blogthis" 
  77.                     class="menuitem-iconic menu-iconic"
  78.                     label="&performancing.overlay.blogthispage;"
  79.                     accesskey="&performancing.overlay.blogthispage.key;"
  80.                     hidden = "false"
  81.                     oncommand="performancingUI.blogThis()"/>
  82.                 <menuseparator />
  83.                 <menuitem id="performancing-cm-deliciousthis" 
  84.                     class="menuitem-iconic menu-iconic"
  85.                     label="&performancing.overlay.bookmark;"
  86.                     accesskey="&performancing.overlay.bookmark.key;"
  87.                     hidden = "false"
  88.                     oncommand="performancingUI.openDelicious()"/>
  89.                 <menuseparator />
  90.                 <menuitem id="performancing-cm-technoratithis" 
  91.                     class="menuitem-iconic menu-iconic"
  92.                     label="&performancing.overlay.pagetools;"
  93.                     accesskey="&performancing.overlay.pagetools.key;"
  94.                     hidden = "false"
  95.                     oncommand="performancingUI.openTechnorati()"/>
  96.                 <menuseparator />
  97.                 <menuitem id="performancing-cm-fileupload" 
  98.                     class="menuitem-iconic menu-iconic"
  99.                     label="&performancing.overlay.ftpupload;"
  100.                     accesskey="&performancing.overlay.ftpupload.key;"
  101.                     hidden="false"
  102.                     oncommand="performancingUI.openFileUpload()"/>
  103.             </menupopup>
  104.         </menu>
  105.         <menuseparator id="context-performancing-sep" insertafter="context-selectall" />
  106.     </popup>
  107.     
  108.     <!-- Start Splitter -->
  109.  
  110.     <vbox id="appcontent" flex="1">
  111.         <box id="performancing-outerbox" collapsed="true"  insertbefore="content" flex="1" >
  112.             <iframe flex="1" id="perFormancingMidasFrame" src="chrome://performancing/content/blank.xul"/>
  113.         </box>
  114.         <splitter id="performancingSplit" collapse="none" resizeafter="farthest" insertbefore="content" collapsed="true" height="18px">
  115.             <spring flex="1"/><grippy />
  116.             <!-- <image id="performancing-grippy" style="margin-left: 105px" tooltiptext="&performancing.overlay.dragpff;" /> -->
  117.             <spring flex="1"/>
  118.             <toolbarbutton id="performancing-close-toolbar" align="right"
  119.                 tooltiptext="&performancing.overlay.closeperformancing;" class="url"
  120.                 oncommand="gperformancing.openBottomBar()"/>
  121.         </splitter>
  122.     </vbox>
  123. </overlay>
  124.